<?php

namespace App\Services\Basic;

use App\Enum;
use App\Repositories\Basic\StorageRepository;
use App\Services\BaseService;

class StorageService extends BaseService
{

    public function isValid($id)
    {
        return app(StorageRepository::class)->isExists(['id'=>$id,'status'=>Enum::STORAGE_STATUS_ENABLE]);
    }

}